package com.taxi.management.service;

import com.taxi.management.entity.OrderDetailsEntity;

import java.util.List;

public interface OrderDetailsService {
    List<OrderDetailsEntity> getAllOrder();

    OrderDetailsEntity getOrderById(int id);

    int addOrder(OrderDetailsEntity order);

    int updateOrder(OrderDetailsEntity order);

    int deleteOrder(int id);

    List<OrderDetailsEntity> getOrderByPage(String username, int start, int limit);
}
